/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package uniriotec.pm.prova.dao.postgresql;

import uniriotec.pm.prova.dao.DAOFactory;
import uniriotec.pm.prova.dao.DisciplinaDAO;
import uniriotec.pm.prova.dao.OpcaoDAO;
import uniriotec.pm.prova.dao.QuestaoDAO;
import uniriotec.pm.prova.dao.TopicoDAO;

/**
 *
 * @author albertoapr
 */
public class PostgresqlDAOFactory extends DAOFactory {

    
    @Override
    public DisciplinaDAO getDisciplinaDAO() {
        return new PostgresqlDisciplinaDAO()  ;
    }

    @Override
    public TopicoDAO getTopicoDAO() {
        return new PostgresqlTopicoDAO()  ;
    }

    @Override
    public QuestaoDAO getQuestaoDAO() {
       return new PostgresqlQuestaoDAO() ;
    }

    @Override
    public OpcaoDAO getOpcaoDAO() {
        return new PostgresqlOpcaoDAO() ;
    }
    
}
